import { Button, Flex, Tooltip } from 'antd';
import { SearchOutlined } from '@ant-design/icons';

const SearchButton = () => (
  <Flex gap="middle" vertical>
    <Flex gap="small">
      <Tooltip title="搜索功能">
        <Button 
          type="primary" 
          shape="circle" 
          icon={<SearchOutlined />} 
        />
      </Tooltip>
      <Button type="default">
        这是搜索按钮的示例
      </Button>
    </Flex>
  </Flex>
);

export default SearchButton;